home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
src
/
boot
/
netBoot.new
/
sun4c.md
/
idprom.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-12-19
|
2KB
|
45 lines
/* @(#)idprom.h 1.9 88/02/08 SMI */
/*
* Copyright (c) 1986 by Sun Microsystems, Inc.
*/
/*
* Structure declaration for ID prom in CPU and Ethernet boards
*/
struct idprom {
unsigned char id_format; /* format identifier */
/* The following fields are valid only in format IDFORM_1. */
unsigned char id_machine; /* machine type */
unsigned char id_ether[6]; /* ethernet address */
long id_date; /* date of manufacture */
unsigned id_serial:24; /* serial number */
unsigned char id_xsum; /* xor checksum */
unsigned char id_undef[16]; /* undefined */
};
#define IDFORM_1 1 /* Format number for first ID proms */
/*
* The machine type field assignments are constrained such that the
* IDM_ARCH_MASK bits define the CPU architecture and the remaining bits
* identify the individual implementation of that architecture.
*/
#define IDM_ARCH_MASK 0xf0 /* mask for architecture bits */
#define IDM_ARCH_SUN2 0x00 /* arch value for Sun-2 */
#define IDM_ARCH_SUN3 0x10 /* arch value for Sun-3 */
#define IDM_ARCH_SUN4 0x20 /* arch value for Sun-4 */
/* All possible values of the id_machine field (so far): */
#define IDM_SUN2_MULTI 1 /* Machine type for Multibus CPU board */
#define IDM_SUN2_VME 2 /* Machine type for VME CPU board */
#define IDM_SUN3_CARRERA 0x11 /* Carrera CPU */
#define IDM_SUN3_M25 0x12 /* M25 CPU */
#define IDM_SUN3_SIRIUS 0x13 /* Sirius CPU */
#define IDM_SUN3_PRISM 0x14 /* Prism CPU */
#define IDM_SUN3_F 0x17 /* Sun3F CPU */
#define IDM_SUN3_E 0x18 /* Sun3E CPU */
#define IDM_SUN4 0x21 /* Sparc CPU */
#define IDM_SUN4_COBRA 0x22 /* Cobra CPU */